﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using Telerik.Web.UI;
using System.Threading;
using KPIS.GERP.GAMS.DAL;
using KPIS.GERP.GAMS.MODEL;

namespace KPIS.GERP.GAMS.APP.App_UI.Forms
{
    public partial class ACM_POPUP : System.Web.UI.Page
    {
        Commons.Main main = new Commons.Main();
        D_ACM_MAS_Account d_acm_mas_account = new D_ACM_MAS_Account();
        protected void Page_Load(object sender, EventArgs e)
        {
            string strControlName = Request.QueryString["ControlName"];
            if (strControlName != null)
                lblControlName.Value = strControlName;
            RadTreeView1.DataSource = d_acm_mas_account.GetListForLookUp();
            RadTreeView1.DataBind();
        }
        //protected void RadTreeView1_NodeClick(object sender, Telerik.Web.UI.RadTreeNodeEventArgs e)
        //{
        //    if (e.Node.Nodes.Count == 0)
        //    {
        //        string strAccountSeq = e.Node.Value;
        //        M_ACM_MAS_Account info = d_acm_mas_account.GetInfo_ByAccountSeq_Version(main.ConvertNullInt(strAccountSeq), Convert.ToInt32(Session["VersionSeq"]));
        //    }
        //}
    }
}
